package com.aspire.query.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * 读取yml配置项数据
 * @author zhouyumin
 */
@Data
@Component
@ConfigurationProperties(prefix = "spring.datasource")
public class ConfigDO {

    private String driverClassName;

    private String username;

    private String password;

    private String url;

}
